<template>
	<view class="container">
		<view class="bg">
			<image mode="widthFix" src="../../static/images/service_bg.png"></image>
		</view>
		<view class="title">报考咨询师诊断</view>
		<view class="title-img">
			<image mode="widthFix" src="../../static/images/bao_kao_zhen_duan.png"></image>
		</view>
		<view class="service-box">
			<view class="service-title">报考咨询师方案诊断介绍</view>
			<view class="service-content">
				高级规划师一对一电话服务；心理沟通; VIP服务群答疑; 线上专属志愿填报方案诊断（2次）。
			</view>
			<view class="service-price">
				购买报考咨询师诊断在线辅助志愿价格为<view class="price-num">399元</view>
			</view>
			<view class="submit-btn activate-btn" @tap="goActivate">激活卡激活</view>
			<view class="submit-btn buy-btn" @tap="goConfirmOrder">立即购买</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		
		methods: {
			
			goActivate() {
				uni.navigateTo({
					url: '/pages/activate/activate'
				})
			},
			
			goConfirmOrder() {
				uni.redirectTo({
					url: '/pages/confirm_order/confirm_order'
				})
			}
			
		}
	}
</script>

<style>
	.container {
		width: 750rpx;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	.bg {
		position: absolute;
		left: 0;
		top: 0;
		z-index: -1;
	}
	
	.bg image {
		width: 750rpx;
	}
	
	.title {
		color: #ffffff;
		font-size: 72rpx;
		font-weight: bold;
		margin-top: 100rpx;
	}
	
	.title-img image {
		width: 500rpx;
	}
	
	.service-box {
		width: 654rpx;
		height: 580rpx;
		background-color: #ffffff;
		border-radius: 60rpx;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	.service-title {
		color: #47dab2;
		font-size: 36rpx;
		margin-top: 52rpx;
	}
	
	.service-content {
		width: 576rpx;
		color: #666666;
		font-size: 24rpx;
		margin-top: 44rpx;
	}
	
	.service-price {
		color: #666666;
		font-size: 22rpx;
		margin-top: 40rpx;
	}
	
	.price-num {
		display: inline-block;
		color: #fc1b1b;
		font-size: 30rpx;
	}
	
	.submit-btn {
		width: 594rpx;
		height: 72rpx;
		background: linear-gradient(90deg, #ff8806, #fbae2b);
		border-radius: 36rpx;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		color: #ffffff;
		font-size: 36rpx;
	}
	
	.activate-btn {
		margin-top: 20rpx;
	}
	
	.buy-btn {
		margin-top: 28rpx;
	}
</style>
